#define _CRT_SECURE_NO_WARNINGS 1

#if 0
#include<stdio.h>
#include<assert.h>

int main()
{
	FILE* pf = fopen("f1.txt", "r");
	if (pf == NULL)
	{
		assert(fopen);
		return 1;
	}
	int n1 = 0;
	int n2 = 0;
	int n3 = 1;
	char ch;
	while ((ch = fgetc(pf)) != EOF)
	{
		if ((ch >= 65 && ch <= 90) || (ch >= 97 && ch <= 122))
		{
			n1++;
		}
		else if (ch >= 48 && ch <= 57)
		{
			n2++;
		}
		else 
		{
			n3++;
		}
	} 
	fclose(pf);
	pf = NULL;

	printf("letter=%d,digit=%d,other=%d", n1, n2, n3);
	return 0;
}
#endif